package cn.ac.jaas.isc.vegetable.pbms.mapper;

import cn.ac.jaas.isc.vegetable.common.data.datascope.VegetableBaseMapper;
import cn.ac.jaas.isc.vegetable.pbms.api.entity.ArcGroupModel;
import cn.ac.jaas.isc.vegetable.pbms.api.vo.GroupMemberVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 张高昌
 * @date 2022-05-28 17:25:08
 */
@Mapper
public interface ArcGroupModelMapper extends VegetableBaseMapper<ArcGroupModel> {

    /**
     * 分页查询装置分组
     *
     * @param page
     * @param houseId
     * @param groupId
     * @return
     */
    List<GroupMemberVO> selectGroupMemberPage(Page page, @Param("houseId") Integer houseId, @Param("groupId") Integer groupId);

}
